const state ={
   userName:'guoyw'
}

const getters={
  lastUserName:(state)=>{
    return state.userName.substr(-1,1)
  }
}

export default {
  state,
  getters
}